<form action="index.php?r=admin/banner/insertbanner" method="post" enctype="multipart/form-data" >
    <div class="form-group">
        <label>Tên Banner</label>
        <input type="text" name="banner_name">
    </div>
    <div class="form-group">
        <label>Banner</label>
        <input type="file" name="file_upload_banner">
    </div>
    <div class="form-group">
        <label>loai banner</label>
        <select name="type_id">
            <?php foreach ($listtypebanner as $key => $value){
                ?>
                <option value="<?php echo $value['id'];?>"><?php echo $value['name'];?></option>
            <?php
            }?>
        </select>
    </div>
    <input type="submit" name="submit" value="submit">

</form>

